Package com.rnett.action.glob

Wrappers for @actions/glob.

Types

Globber
Link copied to clipboard
class Globber
A globber instance for a given glob.

Functions

glob
Link copied to clipboard
suspend fun glob(vararg patterns: String, followSymbolicLinks: Boolean = true, implicitDescendants: Boolean = true, omitBrokenSymbolicLinks: Boolean = true, matchDirectories: Boolean = true): List<Path>
Get all files matching patterns.
suspend fun glob(patterns: List<String>, followSymbolicLinks: Boolean = true, implicitDescendants: Boolean = true, omitBrokenSymbolicLinks: Boolean = true, matchDirectories: Boolean = true): List<Path>
Get all files matching patterns.
Globber
Link copied to clipboard
suspend fun Globber(vararg patterns: String, followSymbolicLinks: Boolean = true, implicitDescendants: Boolean = true, omitBrokenSymbolicLinks: Boolean = true, matchDirectories: Boolean = true): Globber
Create a Globber.
suspend fun Globber(patterns: List<String>, followSymbolicLinks: Boolean = true, implicitDescendants: Boolean = true, omitBrokenSymbolicLinks: Boolean = true, matchDirectories: Boolean = true): Globber
Create a Globber.
globFlow
Link copied to clipboard
suspend fun globFlow(vararg patterns: String, followSymbolicLinks: Boolean = true, implicitDescendants: Boolean = true, omitBrokenSymbolicLinks: Boolean = true, matchDirectories: Boolean = true): <ERROR CLASS><Path>
Get all files matching patterns, asynchronously.
suspend fun globFlow(patterns: List<String>, followSymbolicLinks: Boolean = true, implicitDescendants: Boolean = true, omitBrokenSymbolicLinks: Boolean = true, matchDirectories: Boolean = true): <ERROR CLASS><Path>
Get all files matching patterns, asynchronously.
hashFiles
Link copied to clipboard
suspend fun hashFiles(patterns: List<String>, followSymbolicLinks: Boolean = true): String
Hash files, the same as the actions context function `hashFiles.